import request from '@/utils/request'

// 查询养老保险发放列表
export function listPension_payment(query) {
  return request({
    url: '/report/pension_payment/list',
    method: 'get',
    params: query
  })
}

// 查询养老保险发放详细
export function getPension_payment(id) {
  return request({
    url: '/report/pension_payment/' + id,
    method: 'get'
  })
}

// 新增养老保险发放
export function addPension_payment(data) {
  return request({
    url: '/report/pension_payment',
    method: 'post',
    data: data
  })
}

// 修改养老保险发放
export function updatePension_payment(data) {
  return request({
    url: '/report/pension_payment',
    method: 'put',
    data: data
  })
}

// 删除养老保险发放
export function delPension_payment(id) {
  return request({
    url: '/report/pension_payment/' + id,
    method: 'delete'
  })
}
